<?php 
	//This will be included in main.php if the user is not logged in there.
	require_once 'php_includes.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Payroll and Timesheet Management Website</title>
    <link rel="stylesheet" type="text/css" href="styles.css"/>
	<script type="text/javascript" src="pwcheck.js">
    </script>
  </head>
  <body>
	<?php writeHeader(); ?>
	
	<!-- content -->
	<p>
		<span class="pageheader">Login to the system:</span>
	</p>
	<form action="main.php" method="post">
	
	<div class="left_side">
		Employee ID:<br/>
		Password:
	</div>
	<div class="middle_cont">
		<input type="text" name="userid"/><br/>
		<input type="password" name="password"/><br/>
	</div>
	<p>
		<input type="submit" value="Login" class="button" onclick="return checkUsernamePassword();" />
	</p>
	</form>
  </body>
</html>